package com.eshop.modules.user.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eshop.domain.BaseDomain;
import io.swagger.annotations.ApiModelProperty;

@TableName("user_task_finish")
public class UserTaskFinish extends BaseDomain {
    @TableId(type = IdType.AUTO, value = "id")
    private Integer id;
    @ApiModelProperty("是否有效")
    private Integer status;
    @ApiModelProperty("任务id")
    private Integer taskId;
    @ApiModelProperty("用户id")
    private Long uid;

    public void setId(Integer id2) {
        this.id = id2;
    }

    public void setStatus(Integer status2) {
        this.status = status2;
    }

    public void setTaskId(Integer taskId2) {
        this.taskId = taskId2;
    }

    public void setUid(Long uid2) {
        this.uid = uid2;
    }

    public String toString() {
        return "UserTaskFinish(id=" + getId() + ", taskId=" + getTaskId() + ", uid=" + getUid() + ", status=" + getStatus() + ")";
    }

    /* access modifiers changed from: protected */
    public boolean canEqual(Object other) {
        return other instanceof UserTaskFinish;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof UserTaskFinish)) {
            return false;
        }
        UserTaskFinish other = (UserTaskFinish) o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (!UserTaskFinish.super.equals(o)) {
            return false;
        }
        Integer this$id = getId();
        Integer other$id = other.getId();
        if (this$id != null ? !this$id.equals(other$id) : other$id != null) {
            return false;
        }
        Integer this$taskId = getTaskId();
        Integer other$taskId = other.getTaskId();
        if (this$taskId != null ? !this$taskId.equals(other$taskId) : other$taskId != null) {
            return false;
        }
        Long this$uid = getUid();
        Long other$uid = other.getUid();
        if (this$uid != null ? !this$uid.equals(other$uid) : other$uid != null) {
            return false;
        }
        Integer this$status = getStatus();
        Integer other$status = other.getStatus();
        if (this$status == null) {
            if (other$status == null) {
                return true;
            }
        } else if (this$status.equals(other$status)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i = 43;
        int result = UserTaskFinish.super.hashCode();
        Integer $id = getId();
        int i2 = result * 59;
        int hashCode = $id == null ? 43 : $id.hashCode();
        Integer $taskId = getTaskId();
        int i3 = (i2 + hashCode) * 59;
        int hashCode2 = $taskId == null ? 43 : $taskId.hashCode();
        Long $uid = getUid();
        int i4 = (i3 + hashCode2) * 59;
        int hashCode3 = $uid == null ? 43 : $uid.hashCode();
        Integer $status = getStatus();
        int i5 = (i4 + hashCode3) * 59;
        if ($status != null) {
            i = $status.hashCode();
        }
        return i5 + i;
    }

    public Integer getId() {
        return this.id;
    }

    public Integer getTaskId() {
        return this.taskId;
    }

    public Long getUid() {
        return this.uid;
    }

    public Integer getStatus() {
        return this.status;
    }
}
